//
//  MLXSaoYiSaoViewController.h
//  Pods-MLXCamera
//
//  Created by SY on 2019/2/20.
//

#import <UIKit/UIKit.h>

@interface MLXSaoYiSaoViewController : UIViewController
//改变扫描的图片颜色
@property(nonatomic,strong) UIColor *imagTintColorColor;
//识别二维码远时是否放大
@property(nonatomic,assign) BOOL isAutoVideoZoom;
//是否要识别相册中的图片  右上角会有个相册的按钮
@property(nonatomic,assign) BOOL isIdentifyPhoto;
//右上角会有个相册的按钮回调
@property(nonatomic,copy) void(^identifyPhotoBlock)(MLXSaoYiSaoViewController *);
//传入要识别的图片 isIdentifyPhoto 必须是打开的
- (void)incomIdentifyImage:(UIImage *)image;
//开始扫描
-(void)start;
//结果回调
@property(nonatomic,copy) void(^completeBlock)(NSString *stringValue,MLXSaoYiSaoViewController *);
//初始化
- (instancetype)initWithImagTintColorColor:(UIColor *)imagTintColorColor completeBlock:(void(^)(NSString *stringValue,MLXSaoYiSaoViewController *vc))completeBlock;
@end
